Remove interactions and deprecated code.