Adding actions to factory.