Added type function, and string object