Since these are optional, it should only set these if they were specified in config.