:one: This sorely needs documentation. And probably a refactor.