correctly handle 0 parameter request function declarations