Prepare for web API