Fix extends for models

Fix Dataset.php module
method setExtends