Added Async functions,  and fixed a bug in the Entity Definition (missing {})