Harden importing.
Formal protocol for the interface shared between Joysticks and JSActions, use new safer types elsewhere.