Check if the Service API exists. If it does, use that rather than direct database manipulation. Work in progress.