Check for defined client class to avoid warnings