still trying for enum attributes
docs for functions (no body yet); type improvements