Attribute and ReturnType improvements

Added attribute support, more work planned. Added TypeName support