Avoid duplicate class definitions