Crop-anywhere API. And some refactoring.
Docs TK.