Removing typecast to symbol