Duplicated code makes me sad.