Refactoring for source and target based site processing.