Removed unnecessary type conversion.