Nested classes need to explicitly import and export

http://www.cppblog.com/mythma/archive/2013/01/23/197517.aspx