simplify the UMD envelope, because we don't need the .symbol functionality
further simplify our UMD variant
provide attrs() method
fix syntax
inline helper function