Fixed module export to allow implementation of custom messages and commands