Implemented signing.