Common utility type functions
