Workaround save for old Buffer implementation.