This change is not necessary. You can change this function to public using the Access Transformer