fixes namespace so methods are exported (maybe for real)