Fix prototypal chain