Returning promises in ContextLoader. not working.