Make PublicActivity optional, not loaded for Ruby 1.8.