add scaffold support.