Modernize some attr to prop