Replace GenericReferenceElement(s) with ReferenceElement(s) for Grape binding.