Less code duplication.