Removed getAssets method (deprecated).