fix:  inherits from extendModel and extendCollection

I want to resolve #481