Duplicate code removed.