Convert into OO structure.