Added version check for methods. Fixes #33