Major SELECT refactoring.
Version bump.