Workarounds for ambiguous method calls