$data is defined by the Data trait