Revert "Switch to an much easier smartcover implementation"

This reverts commit 3006f300668f129a1be50906db94448b8b80eba9.