Issue #1185644: API improvements. Renamed 'contact' object to 'contact_category' for consistency and to prevent future clashes