Fix. Some compile warnings
Add. `misc` module