Better duplication code.