Make registerAlias method static for more convenient access.