} else {
address = new DefaultOperationRequestAddress(ctx.getPrefix());
}
final List<String> names;
if(address.endsOnType()) {
final String type = address.getNodeType();
address.toParentNode();
names = Util.getNodeNames(ctx.getModelControllerClient(), address, type);
} else {
names = Util.getNodeTypes(ctx.getModelControllerClient(), address);