Use new style buffer interface.