Small optimizations in register

Shouldn't hurt readability & ease pain when adding/removing modules which are not directly affected by something