Refactor multistep form class and move common validation callbacks to the form base class.