Added missing visibility on constructor methods

Fixed some issues found by scrutinizer, related to method visibility.