Method to get type can be static.