added options to accept is-component? and no-history? to schema def fns