Added removal of maintained styles on destroy