Please, get rid of code duplication.