LibLept.SEL -> SEL
Fix formatting
Avoid unnecessary casts