Databound constructor