This is probably fine, but I would feel better if it was a constructor argument.