Code duplication.