Some classes to get rid of writing the same adapters again and again.