Added support for parent element in auto binding feature