Typed all patterns for LOC
Updated patterns typing