Use methods instead of accessing properties directly
Merge pull request #504 from leewillis77/ship_api_fix

Use methods instead of accessing properties directly