add outlets and actions.