Do some initial buffering for magic.