Added accessors to User.