Apply missing keyword ‘public’ so class methods can be accessed externally.