Add MULTI_PATTERN as invalid static object to improve error reporting.