Fixed issue with private properties
Added option to set a callback to get file/line