Definition of the API in order to test widgets