Adds registerClassAlias support