__slice from genned code wasn't included, and a bit of cleanup in Config