Add sp_get_signals() function.