Implement 'init' action.