Added Ruby keyword arguments style to throw an ArgumentError for invalid keywords.