Cleaning up http interface.