IntelliJ likes to double indent this syntax. Need to work out how to disable it as it keeps sneaking through.