visibility of methods changed from protected to public