More DRY code.