this seems unnecessary as it is already covered later (``$keys`` include ``$methods`` because of the next line)