Add note on REST interface for secondary indexes
Minor dead code removal