Clean up some code. Invoke secfw with actions.