Finished the merchant implementation.