Adding support for bind attribute

this behavior doesn't seem very desirable, why not just leave it out?