make method supportsClass() in custom voter compatible with the interface's documentation