Added two interfaces (PreDBMarshaller and PostDBUnmarshaller) that are hooks to the beedb marshal/unmarshal functions.