Revert "Switch to an much easier smartcover implementation"

This reverts commit 63b04f553cbf2aa344b772a582dfec88654e3f5e.