Fixed interface baseType.
Now using baseType&pointerType in the needed functions.