Move the redirector into the handling package and add some javadoc.