Only set options when necessary.