Surround code in specific namespace