added optional args that can be passed through to custom mapping functions.
Merge pull request #2 from stevejhiggs/optionalArgumentSupport

added optional args that can be passed through to custom mapping functio...