[WIP] Working on web service functions.