Fix reference links for nested classes