Eliminate stub deprecation warnings
Fix typo