Fix issue where value_type did not implement required interface