Changed Access modifiers for two defenitions