Add ability to use it inside Swift code
Fix copy/paste issue
Merge pull request #3 from Igor-Palaguta/SwiftCompatibility

Some improvements for Swift compatibility