Implemented signature generating.