Kind of meh namespacing and messy, but nicer config