Clean up core namespace and requires for DBN.