Removed extra type checking.