Expose services as a consumable external module

why is this exported, and not just in the parser?