Adding PerformPermaBlock class