First pass at handling legacy redirect() API