Added trade functionality.