Add user type functions.