Cleanup, removing all the elements related to user interface and not needed by the API.