Fixed problem with method calls when calling methods with no parameters