Typo: 'self' instead of 'client'