Remove ambiguous use of mock