Workaround for Prepare.