added generator for url handlers