Removed unnecessary type casting.