Rename context->application throughout.