Get rid of literalsOnly as you don't need this boolean.