Removed superfluous type casting