Update class to support nibs