let NullType inherit from PrimitiveType