Added hieritance comments in documentation