Move implicit arg to constructor for Java access.