1) Added support for other types to convert the parameter type to a long.