Avoid error message for function name conflict

This is probably helpful:

It appears that either fully qualified names (as in A.flatten) or explit importing of all used objects are the only options.

However, one entry suggests to redefine the conflicting names to make the code “nicer” as in myflatten(x) = A.flatten(x). That looks workable to me.