Remove functions duplication.