Remove FunctionBean and encapsulate it in the marshaller in the
persistence plugin