Attempt at DRY failed.