 
 ###
 
-module.exports = class V1Writer extends BaseObject
+module.exports = createHotWithPostCreate module, class V1Writer extends BaseObject
   @singletonClass()
 
   @toArtFileTags: (element) => @singleton.toArtFileTags element

  ########################
  _encodeLayout: (element, encodedProps) ->
    {currentSize, currentLocation, axis} = element
    encodedProps.w_val = currentSize.x.toString()
    encodedProps.h_val = currentSize.y.toString()


  toEncodedArtFile: (element) =>
    @toArtFileTags element
    .then (tag) ->
      log artFileTags: tag
      tag.toXbd()

  ########################
