Add a generator for policy handlers