Fixed #118 PHP Fatal error: Undefined class constant 'WrongType'