Add parsing function directly to service