Implement class to object mapping