Revert "Remove class loader from aliases."

This reverts commit c58286aa250d6fe0e347ddb1800f96e62e24de08.
Revert commit.