Revert "Added new callback attributes: buffersize and expiration"

This reverts commit 362274eb06faf091bcfac4b642a25463faef1c5f.