Removing some duplication.