Fix #2844 - Ensure prototype is not enumerable.