Fix class syntax in anchor chain