NPE fix; referencing service via API, not implementation