public function addExtraAppearance($appearance, $before = FALSE) {
        if($before) {
            array_unshift($this->extra_appearances, $appearance);
        }
        else {
            array_push($this->extra_appearances, $appearance);
        }
    }