Fix redirect interface

This fixes #35.