Fix wrong method name. Debug from SDK.
Removed included debug code.
Added same parent maintenance check.