Made get_mentions method PEP257 legal.