Support schema option

For #11