[tern addon] Work-in-progress