Move output arguments to the end of argument list.
Remove a resolved TODO.
Update docs in signals.h.