Added prototype inheritance to Base