Replaced prototype assignment with inheritance, see #157