**@Araq** thanks! Your feedback is highly appreciated!
**@jangko** well, as far as I can understand you want something like this:
from mycode import MyType
from nesm import serialize
... # there is no code generation of the serialize procedure for MyType
let obj = MyType(...)
obj.serialize(target_stream) # The serialize is the template which actual
body is being generated on demand
It looks quite possible. Despite I would prefer keep explicit declaration of
serializable objects, non-intrusive mode will be added to my TODO list for next
version.