Changed argument numeric type to be configurable.