Since you are adding this as a new function, feel free to remove the superfluous cast.