Added object interface to weak reference and prototype default property.