Fixed issue with memory management rules for methods  whose name begins with: "alloc".