pmb: Add more type hints + minor fixes

See individual commits

Merge request reports

Loading