Fixed return types in Redirect class

Signed-off-by: Daniel Bondergaard <danielboendergaard@gmail.com>