expose open helper
fix casting issues
Merge pull request #1 from r2DoesInc/master

expose open helper