Modifying delegate attribute to include enum