Add missing template instanatiation in Java bindings