Added type functions