Fixed errors from method name changes on Linux