Added the getType function