Presumably `mapping` should have been `static`, as in `contactSearchFieldMapping()` and `emailSearchFieldMapping()`.