Add 'cls' param to sd.Object