Make rest prefix a proteted metho instead of static property.