Code clean-up. Made private some methods that should not be accessed.