Prevent some bugs by avoiding cloning of Code and StyledBlock objects.