Ensured that only the header for the outermost class is included in the generated headers.