Add extra functions to User.