Fix bug with primitive type with introspection method call