Compatbility with master - allowed_actions private

Master currently breaks if this isn't prviate