Code cleanup. Omit redundant actions.