Fixes and refactors the way attribute methods are generated
Adds getting the user of a list