Added agl_initialize and agl_deinitialize and wrappers.