The undertakers may, as well upon the said lands as upon any other lands acquired by them under the provisions of this and the special Act, construct such warehouses, storehouses, sheds, and other buildings and works as they may deem necessary for the accommodation of goods shipped or unshipped within the harbour, dock, or pier, and may erect or provide such cranes, weighing and other machines, conveniences, weights, and measures as they think necessary for loading, unloading, measuring, and weighing such goods.