set body type (static/dynamic)

I was trying to implement a simple "floor" for some b2Body(s) to rest on, and noticed that Body::m_flags does have a bit for "static" and "dynamic". But there does not appear to be any accessor or mutator for these properties as there are for "bullet". Am I just not seeing the proper way to set these, or should I just add one myself 😀
Nevermind, I found that m_type is set automatically based on the mass and rotational inertia of the body. If both are zero then it will be set as "static".

Original thread: https://box2d.org/forum/viewtopic.php?t=942