Fixed the API for the top.