Fixed bugs related to signal behavior and subscriptions.