reactor: Minor code cleanup