Optimize prototype  chain