replaced AnyRef by IDRef