Added defroutes macro