Add fields for indexing (bug 1066371)

obj is a Webapp instance so it shouldn't