Added a sign () method.
Added -Wextra to build.