Restore compatibility with old views. Fix #49.