Button, Text, Edit classes and serialization