Move unnecessary method out of bean as it is picked up by Jackson and
serialised and then missing on the unserialisation part which throws an
exception