Move alias loading to register process.

Signed-off-by: crynobone <crynobone@gmail.com>