Remove interface definitions from types.
Added new session handler type.
Initial migration to session interface.