Register both classes as aliases.