Changed calls to method to be syntactically correct.