Hard wiring lights?

All of the headlight bulbs have male spade connectors. The sockets for other type bulbs have a wire or 2 going into them. Those aren't easy to get into.