[fix] Fixing documentation and inheritance