Making sure not to try to call getPrototypeOf unless it's available. Relates to #235.