Rest of the implementation for web services.