Refactors client exposure to chat kernel module