@inline class decorator to speed up attribute lookups, bypassing get_attribute.
made Closure Compiler compatible.