Simplified initActions().