Refactoring of Process/Command methods.