added an error for not supplying serializer
added builder specs for proper initialization.