type safety: see https://github.com/Floobits/floobits-intellij/issues/38