Use typedef to clean a bit.