Returning scheme object instances per ref& now instead of ptr*.