[fix] Extend the prototype if it already has a parent