Correctly bind model changes. This fixes #252.

Fixes #252