Removed warning in type checking