bug fixes that prevented observervable properties to be defined on prototype