Added 'schema' utility function