@classmethod
def load_author(cls, api, author):
    """Create an object starting with an author element."""
    user = cls(api)
    setattr(user, 'nick', author.name.text)
    setattr(user, 'avatar', author.FindExtensions('avatar')[0].text)
    slug = None
    if len(author.FindExtensions('slug')) == 1:
        slug = author.FindExtensions('slug')[0].text
    setattr(user, 'slug', slug)
    return user
