Corrected heading class declaration