Issue #2107137 by dawehner, damiankloip, tim.plunkett: Fix the DX for declaring custom access checkers.