It is better on an event to receive the current datalayer not mongo one. If is received other datalayer than Mongo and are needed some checks by using the datalayer it will not work. In the case of activity whatever datalayer comes it is used mongo to log any activity so the activity module has to choose mongo datalayer.