This was from JugglingDB. It seems to be a trick to do static inheritance. I'm not keen on using __proto__ anyway even though it looks cool.