Cleans up the interface