ENH: Cleanup backend for Offsets and Period

This PR is a work in progress