Refactor controller methods.
Refactor web steps.