Fix warnings since BasicObject was renamed ProxyObject in December 2012