[PATCH 2/2] mf/session: Get rid of some interface pointers casts.