Issue #140: made some methods private