Removed unneeded getType function.