Refactor invoking methods.