Swift offers the ability to write extensions. I do that a lot to make my code easier to read. Not sure if they are harmless. I am wondering, would it be better to just omit
Apple encourages the use of extensions. You can read more about them on the Swift documentation here.