add shorthand for entities

Shorthand notation is intended to be used by application code only as
convenience. It is optional, and no framework code is supposed to use it (yet).