The writeElement method can now take complex values.
Updated changelog