if (attribute instanceof Director) {
nodes.add(_getLocation(attribute));
} else {
// The object is not a director, so only give a location
// if one exists already.
List locations = attribute
.attributeList(Locatable.class);
if (locations.size() > 0) {
nodes.add(locations.get(0));
}