Use static strings instead of magic ones in APIHelpers.java