Making private method protected