Added synchronous reset input.