Useful generic class repository