Signalling module method naming convention and invoking fixes.

Also added API documentation, fixed indentation and r-stripped spaces in code
involved in the patch.