Removed the unused type() method