Initial version of user interaction API