Removing "by 'name'" and Contact User in Directory

Hi folks,

How can we remove "by 'name'" totally from here and anywhere that has to do with the Directory plugin?
How can we get rid of this "Contact User" button here or anywhere else in the Directory plugin?

Example is here:

See the below screenshot as well.