Upgrade to middleclass 3.0.1