PLease move these lines after the inherit line.