Added async and getSyncEntity to help manage async code that ends up running synchronously.