Make autoform optional