Re-add declarative_base

Well, that was dumb! :/