support schema version 4
support @Host definition inline