changed the definition of defview to allow for declare forms to be present as the first form in body