Changed methods from protected to public