Fix some no longer existing method calls
Merge pull request #25 from Burgov/fix_method_calls

Fix some no longer existing method calls