Add method to retrieve all marks with the class and type