Remove @relevant when generating schema, fix #1488