Finished window API.