small Enum fix with instanceof check; YUI-style docs for ENum