adding aliases to class ref