Added __proto__ handling