Cutting down redirect code.