Adding support for bind attribute

as discussed moving the data to be bound at creation time.