Add some smaps support.