concat deprecations and warnings and refactor out of module