Wrap the async loading in a annonomouse function.