boolean and lang seems to work

I have barely done any testing, but it seems to work.