Almost done for gl::function.