new attribute dontAttachTerminals with default value false