Fixed behavior of ensures methods.