Remove now useless register functions.