Fix signature serialization.
Remove debug log.