Does Medicare pay for home modifications?

Does Medicare pay for home modifications? I wish I could say they do, but I have never heard of Medicare helping with assistive care devices. A good internet source to confirm that is http://www Recommended Site.medicare.gov at this page:
http://www.medicare.gov/longtermcare/static/HomeCare.asp Click on “home repair and modifications” at the bottom. It says they do not assist with home modifications, but they do provide some DME, durable medical equipment. The following page defines DME, or durable medical equipment as, “Certain medical equipment that is ordered by a doctor for use in the home. Examples are walkers, wheelchairs, or hospital beds. DME is paid for under both Medicare Part B and Part A for home health services.” http://www.medicare.gov/Glossary/search.asp?Language=English&SelectAlphabet=D