Pseudoclassical pattern part 1.
Fix the prototype inheritence for new objects.