Removed type checking method