Removed the casts since they're not required.