Make sure we pass in the constant pool to do the attribute lookup from.