Converting from delegates to actions.