Typo in Resource.php