NO NO NO!!

The way it's supposed to be done is wire up a plug to 16-gauge SPT-2 cord (the figure-8 stuff used for extension leads).

You staple that along the baseboard and connect the other end to a surface mount bakelite socket. Jeeze.

Must I explain everything? [Linked Image]