I think that this method would be more testable if it took the options that it was being munged.