Add support for entity aliases.