Simplify operation to stop IntelliJ moaning at me