[FIX] 'module' object has no attribute 'related' and write takes 2 arggument.