Refactored MultitypeAdapter, Added #52