Don't allow setting arbitrary attributes on HasProps
Fix bokeh after disallowing setting arbitrary properties