Added support for binding to specific elements instead of the whole document