Use structure instead of schema