Removes undeeded mockery hook