that's true. We should also checkDeprecated `onlogout`, `onmatch`, `onready`.