Better serialization and styles