Document constructor from User class.