Fix: a minor bug for overloading casting operators with additional parameters.