Updated docs. Added extendCleanup method.