Use typedef instead of copy-paste.