@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		// Apparently this is bad style, but we need interfaces and classes with
		// the same name and package to be equal
		if (getClass().getSuperclass() != obj.getClass().getSuperclass())
			return false;
		AHBObject other = (AHBObject) obj;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		if (pkg == null) {
			if (other.pkg != null)
				return false;
		} else if (!pkg.equals(other.pkg))
			return false;
		return true;
	}