We often use short ternaries to set these optional dependencies.