Make params indexing fail if not found
Use an optimized CharSet instead of a HashSet