Fixed arguments to get_layer_model, also fixed href_pared.