Added appropriate access modifiers to all functions, methods and properties.