Fix gtk-doc warnings about unused declarations