Added a simple type check