Added feature to bind inputs to data source.