So I don't have to instantiate them in tests. There's a mock user class but not a mock template one. So rather than go through all that work, I figured I would just make them optional. It's not like this class is really going to be instantiated without those defined because it is a service, anyway.