Remove two compiler warnings for 1.2 release relating to async methods that are not.