Formatting and naming conventions.
Adding writing of attributes in MG_NC_PUTDATA. Testing MG_NC_{PUT,GET}DATA.