Added enclosure support

addresses #1322
add ` (Issue #1322)` to the end of this line