Methods need to be handled a special way when used as keys
Turn on string handling
Added facility to use an externally supplied C function