Add redirects. Add options setting action for resources.