OperationRequestAddress typeAddress = callback.getAddress();
if(!typeAddress.endsOnType()) {
throw new CommandFormatException("Node path '" + typePath + "' doesn't appear to end on a type.");
}
final String typeName = typeAddress.toParentNode().getType();
for(OperationRequestAddress.Node node : typeAddress) {
address.add(node.getType(), node.getName());
}
request.get(Util.OPERATION).set(Util.READ_CHILDREN_TYPES);