Class S: fixed bugs about justify and right align

And some API doc too…