Through another module or you can use metatables to make the module callable and indexable. For example I want to use it as the rhs in hydra.nvim