Use class_eval for anonymous section blocks to allow custom methods