Added visibility modifiers for methods