Made PrefixMapping prototype aware