@CompileStatic where it's possible