align method signature for event bindings & call Platform.flush