Remove unused stocks function