Subschemas can now be functions